<?php

namespace app\modules\admin\forms\home;

use app\common\forms\BaseForm;

class UpdatePasswordForm extends BaseForm {

    public $password;

    public function rules()
    {
        return [
            ['password','required','message'=>\Yii::t("app","密码不能为空")],
            ['password','string','min'=>'6','message'=>\Yii::t("app","密码不能小于6位")],
        ];
    }
}